var express = require('express');
var router = express.Router();
var commentsCtl=require("../controls/user/comments");

router.get("/getComments",commentsCtl.getComments);
router.post("/addComments",commentsCtl.addComments);
router.get("/getSelfComments",commentsCtl.getSelfComments);
router.delete("/deleteComments",commentsCtl.deleteComments);

module.exports = router;